package cn.iocoder;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class DeployBaseVO {
    @JsonProperty("info")
    private String info;
    @JsonProperty("data")
    private List<DataDTO> data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("tag")
        private String tag;

        @JsonProperty("services")
        private List<ServicesDTO> services;

        @NoArgsConstructor
        @Data
        public static class ServicesDTO {
            @JsonProperty("name")
            private String name;
            @JsonProperty("checked")
            private Boolean checked;
        }

        @JsonProperty("deployType")
        private String deployType;

        @JsonProperty("env")
        private String env;
    }
}
